let [a, b, c, ...rest] = foo()